package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

/**
 * 
 *
 * @author code-generate
 * @date 2021-09-17
 */
@Data
@DbTable(tableName = "t_environmental_record")
public class EnvironmentalRecord extends BaseEntity {
        /**
     * 设备Id
     */
    @DbTableField(columnName = "c_device_id", dbType = DbTypeEnum.INTEGER)
    public Integer deviceId ;

    /**
     * 设备号
     */
    @DbTableField(columnName = "c_device_code", dbType = DbTypeEnum.VARCHAR)
    public String deviceCode ;

    /**
     * PM2.5
     */
    @DbTableField(columnName = "c_ph25", dbType = DbTypeEnum.VARCHAR)
    public String ph25 ;

    /**
     * PM10
     */
    @DbTableField(columnName = "c_ph10", dbType = DbTypeEnum.VARCHAR)
    public String ph10 ;

    /**
     * TSP
     */
    @DbTableField(columnName = "c_tsp", dbType = DbTypeEnum.VARCHAR)
    public String tsp ;

    /**
     * 温度
     */
    @DbTableField(columnName = "c_temperature", dbType = DbTypeEnum.VARCHAR)
    public String temperature ;

    /**
     * 湿度
     */
    @DbTableField(columnName = "c_humidity", dbType = DbTypeEnum.VARCHAR)
    public String humidity ;

    /**
     * 气压
     */
    @DbTableField(columnName = "c_pressure", dbType = DbTypeEnum.VARCHAR)
    public String pressure ;

    /**
     * 风速
     */
    @DbTableField(columnName = "c_wind_speed", dbType = DbTypeEnum.VARCHAR)
    public String windSpeed ;

    /**
     * 风向
     */
    @DbTableField(columnName = "c_wind_direction", dbType = DbTypeEnum.VARCHAR)
    public String windDirection ;


}
